package cn.tkb.basic.util;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 封装分页查询
 * @param <T>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQuery<T> {
    private Long total = 1L;
    private List<T> rows = new ArrayList<>();
}
